package com.example.service;

import com.example.entity.MbtiType;
import com.example.mapper.MbtiTypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class MbtiTypeService {
    @Resource
    private MbtiTypeMapper mbtiTypeMapper;
    public MbtiType getByType(String type) {
        return mbtiTypeMapper.getByType(type);
    }
}
